import ROUTERBASE from "./routerBeas"
let routerBeas = ROUTERBASE;
import childCompont from "@c/childView/childView"
export default [{
    path: `${routerBeas}test`,
    name: 'test',
    component: childCompont,
    redirect: {
        name: 'testIndex'
    },
    meta: {
        title: "test",
        pageCache: true
    },
    children: [{
        path: "index",
        name: "testIndex",
        component: () => import("@v/test/index.vue"),
        meta: {
            title: "testIndex",
            pageCache: true
        }
    }, {
        path: "testpage",
        name: 'testpage',
        component: () => import("@v/test/test.vue"),
        meta: {
            title: "testpage",
            pageCache: true
        }
    }, {
        path: 'axios',
        name: 'axios',
        component: () => import('@v/test/axios.vue'),
        meta: {
            title: "axiso使用"
        }
    }, {
        path: 'extend',
        name: 'extend',
        component: () => import('@v/test/extend/index.vue'),
        meta: {
            title: "extend"
        }
    }, {
        path: 'vuex',
        name: 'vuex',
        component: () => import('@v/test/vuex.vue'),
        meta: {
            title: "vuex使用"
        }
    }, {
        path: 'await',
        name: 'await',
        component: () => import('@v/test/await.vue'),
        meta: {
            title: "等待数据使用"
        }
    }, {
        path: 'demo',
        name: 'demo',
        component: () => import('@v/test/demo.vue'),
        meta: {
            title: "复制页面",
            pageCache: true
        }
    }, {
        path: 'demo2',
        name: 'demo2',
        component: () => import('../components/toShopCard/toShopCard.vue'),
        meta: {
            title: "复制页面",
            pageCache: true
        }
    }, {

        path: 'regular',
        name: 'regular',
        component: () => import('@v/test/regular.vue'),
        meta: {
            title: "正则",
            pageCache: true
        }
    }, {

        path: 'mixin1',
        name: 'mixin1',
        component: () => import('@v/test/mixin/mixin1.vue'),
        meta: {
            title: "xial",
            pageCache: true
        }
    }, {

        path: 'mixin2',
        name: 'mixin2',
        component: () => import('@v/test/mixin/mixin2.vue'),
        meta: {
            title: "xial",
            pageCache: true
        }
    }, {
        path: "keyReload",
        name: "keyReload",
        component: () => import('@v/test/key/key.vue'),
        meta: {
            title: "keyReload",
            pageCache: true
        }
    }, {
        path: "watch",
        name: "watch",
        component: () => import('@v/test/watch/watch.vue'),
        meta: {
            title: "watch",
            pageCache: true
        }
    }, {
        path: "prop",
        name: "prop",
        component: () => import('@v/test/sendInfo/prop/prop.vue'),
        meta: {
            title: "prop",
            pageCache: true
        }
    }, {
        path: "provideInject",
        name: "provide&inject",
        component: () => import('@v/test/sendInfo/provideinject/father.vue'),
        meta: {
            title: "provideInject",
            pageCache: true
        }
    }, {
        path: "vueBus",
        name: "vueBus",
        component: () => import('@v/test/sendInfo/vueBus/father.vue'),
        meta: {
            title: "vueBus",
            pageCache: true
        }
    }, {
        path: "hook",
        name: "hook",
        component: () => import('@v/test/hook/hook.vue'),
        meta: {
            title: "hook",
            pageCache: true
        }
    }, {
        path: "jumpself",
        name: "jumpself",
        component: () => import('@v/test/jumpself.vue'),
        meta: {
            title: "jumpself",
            pageCache: true
        }
    }]
}]